package com.nobuyme.box.bean;

import java.util.List;

/**
 * Created by Yong.
 * E-mail：775811790@qq.com
 * 2017/7/21
 */


public class ShareListEntity {


    /**
     * id : 1
     * goods_id : 1
     * user_id : 1
     * nick_name : Jonah
     * avatar : http://ooftwgdmf.bkt.clouddn.com/dc973673-5df8-4d31-ac01-372d66662192.png
     * content : 灰常好玩
     * images : https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_1.jpg,https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_2.jpg,https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_3.jpg,https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_4.jpg,https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_5.jpg
     * comment_date : 19小时前
     * reply_list : [{"id":1,"comment_id":1,"goods_id":1,"user_id":1,"nick_name":"测试","reply_id":0,"reply_content":"极好的","reply_name":null,"reply_time":"5小时前"}]
     * image_list : ["https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_1.jpg","https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_2.jpg","https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_3.jpg","https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_4.jpg","https://img03.miyabaobei.com/d1/p2/item/11/1161/1161203_topic_5.jpg"]
     */

    private int id;
    private int goods_id;
    private int user_id;
    private String nick_name;
    private String avatar;
    private String content;
    private String images;
    private String comment_date;
    private List<ReplyListEntity> reply_list;
    private List<String> image_list;

    public void setId(int id) {
        this.id = id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public void setComment_date(String comment_date) {
        this.comment_date = comment_date;
    }

    public void setReply_list(List<ReplyListEntity> reply_list) {
        this.reply_list = reply_list;
    }

    public void setImage_list(List<String> image_list) {
        this.image_list = image_list;
    }

    public int getId() {
        return id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public String getNick_name() {
        return nick_name;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getContent() {
        return content;
    }

    public String getImages() {
        return images;
    }

    public String getComment_date() {
        return comment_date;
    }

    public List<ReplyListEntity> getReply_list() {
        return reply_list;
    }

    public List<String> getImage_list() {
        return image_list;
    }

    public static class ReplyListEntity {
        /**
         * id : 1
         * comment_id : 1
         * goods_id : 1
         * user_id : 1
         * nick_name : 测试
         * reply_id : 0
         * reply_content : 极好的
         * reply_name : null
         * reply_time : 5小时前
         */

        private int id;
        private int comment_id;
        private int goods_id;
        private int user_id;
        private String nick_name;
        private int reply_id;
        private String reply_content;
        private Object reply_name;
        private String reply_time;

        public void setId(int id) {
            this.id = id;
        }

        public void setComment_id(int comment_id) {
            this.comment_id = comment_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public void setReply_id(int reply_id) {
            this.reply_id = reply_id;
        }

        public void setReply_content(String reply_content) {
            this.reply_content = reply_content;
        }

        public void setReply_name(Object reply_name) {
            this.reply_name = reply_name;
        }

        public void setReply_time(String reply_time) {
            this.reply_time = reply_time;
        }

        public int getId() {
            return id;
        }

        public int getComment_id() {
            return comment_id;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public int getUser_id() {
            return user_id;
        }

        public String getNick_name() {
            return nick_name;
        }

        public int getReply_id() {
            return reply_id;
        }

        public String getReply_content() {
            return reply_content;
        }

        public Object getReply_name() {
            return reply_name;
        }

        public String getReply_time() {
            return reply_time;
        }

    }

    @Override
    public String toString() {
        return "ShareListEntity{" +
                "id=" + id +
                ", goods_id=" + goods_id +
                ", user_id=" + user_id +
                ", nick_name='" + nick_name + '\'' +
                ", avatar='" + avatar + '\'' +
                ", content='" + content + '\'' +
                ", images='" + images + '\'' +
                ", comment_date='" + comment_date + '\'' +
                ", reply_list=" + reply_list +
                ", image_list=" + image_list +
                '}';
    }
}
